//
//  JCReportProModel.h
//  SquashSpark
//
//  Created by 郭吉成 on 2017/12/1.
//  Copyright © 2017年 Coollang-YF. All rights reserved.
//

#import <UIKit/UIKit.h>
@class JCReportProSubData;

@interface JCReportProModel : NSObject

@property (nonatomic, strong) NSString *foreHand;
@property (nonatomic, strong) NSString *backHand;
@property (nonatomic, strong) NSString *foreHandPer;
@property (nonatomic, strong) NSString *backHandPer;
@property (nonatomic, strong) NSMutableArray <JCReportProSubData *> *weekData;
@property (nonatomic, strong) JCReportProSubData *gradeReference;
@property (nonatomic, strong) JCReportProSubData *grade;

+ (JCReportProModel *)creatModelWith:(NSDictionary *)sourceDic;

@end






@interface JCReportProSubData : NSObject

@property (nonatomic, strong) NSString *sweetRate;
@property (nonatomic, strong) NSString *avgSpeed;
@property (nonatomic, strong) NSString *avgStrength;

+ (JCReportProSubData *)creatModelWith:(NSDictionary *)sourceDic isNeedCom:(BOOL)isNeedCom;
+ (NSArray <JCReportProSubData *> *)creatWeekDataWith:(NSDictionary *)sourceDic;

@end
